package ${package}.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.generator.CommonBean;
import lombok.*;

/**
* <p>
* ${tableComment} 实体类
* </p>
*
* @author ${author}
* @since ${since}
*/

@TableName("${tableName}")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class ${className}Entity extends CommonBean {
<#if columns??>
<#list columns as column>
    <#if column.fieldName!="id">
        <#if !column.isParent>
    /**
     * ${column.columnComment}
     */
    @TableField("${column.columnName}")
    private ${column.fieldType} ${column.fieldName};
        </#if>
    </#if>
</#list>
</#if>
}